﻿<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls"
   Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="SpWiki.Layouts.SpWiki.Forms.Edit"
   DynamicMasterPageFile="~masterurl/default.master" %>

<asp:Content ID="PageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
</asp:Content>
<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">
   
   <asp:PlaceHolder ID="PhWiki" runat="server">
      <div class="SpWikiPreviewArea">
         <asp:Literal ID="LitPreview" runat="server"></asp:Literal>
      </div>
   </asp:PlaceHolder>

   <div class="SpWikiEditArea">
      <asp:TextBox ID="TbContent" runat="server" Width="100%" Height="100" TextMode="MultiLine"
         Rows="20"></asp:TextBox>
   </div>

   <div class="SpWikiButtonArea">
      <asp:PlaceHolder ID="PlaceHolderButtons" runat="server">
         <asp:Button UseSubmitBehavior="false" runat="server" class="ms-ButtonHeightWidth"
            Text="Save" ID="BtnSubmitEdit" OnClick="SubmitEdit" />
         <asp:Button UseSubmitBehavior="false" runat="server" class="ms-ButtonHeightWidth"
            Text="Preview" ID="BtnPreviewEdit" OnClick="PreviewEdit" />
         <asp:Button UseSubmitBehavior="false" runat="server" class="ms-ButtonHeightWidth"
            Text="Cancel" ID="BtnCancelEdit" OnClick="CancelEdit" />
      </asp:PlaceHolder>
   </div>

</asp:Content>
<asp:Content ID="PageTitle" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
   Application Page</asp:Content>
<asp:Content ID="PageTitleInTitleArea" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea"
   runat="server">
   My Application Page</asp:Content>
